﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserControls_ucDateTimePicker : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    public string REValidationExpression
    {
        get { return REV.ValidationExpression; }
        set { REV.ValidationExpression = value; }      
    }

    public AjaxControlToolkit.CalendarDefaultView CalendarDefaultView
    {
        get { return txtDate_CalendarExtender.DefaultView; }
        set { txtDate_CalendarExtender.DefaultView = value; }
    }

    public string CalendarFormat
    {
        get { return txtDate_CalendarExtender.Format; }
        set { txtDate_CalendarExtender.Format = value; }
    }

    public string Text 
    {
        get { return txtDate.Text; }
        set { txtDate.Text = value; }
    }

    public bool ImageVisible
    {
        get { return ImageCal.Visible; }
        set { ImageCal.Visible = value; }
    }
}